﻿using UnityEngine;
using System.Collections;

public class CameraGameOver : MonoBehaviour 
{
	public GUIStyle myGui;
	public Texture tex;
	
	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}
	
	void OnGUI () 
	{	
		if(GUI.Button(new Rect((Screen.width/100)*(40),(Screen.height/100)*(50), 200, 200), tex, myGui)) 
		{
			Application.LoadLevel("Menu");
		}
	}

}
